@charset "UTF-8";
body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
dd,
input,
textarea {
  margin: 0;
  padding: 0;
}

img {
  vertical-align: top;
}

li {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  /* font-weight: 500; */
  font-weight: normal;
}

body {
  line-height: 2;
  color: #666;
  font-size: 12px;
  font-family: '微软雅黑' , '宋体'  , Arial;
}

textarea {
  resize: none;
}

input,
textarea {
  outline: none;
  /* 让文本属性继承 */
  color: inherit;
  font-size: inherit;
  font-family: inherit;
}

a {
  /* 去掉a标签上自带的下划线 */
  text-decoration: none;
  /* 字体的颜色继承父元素 */
  color: inherit;
}

/* 把em当做span使用  */
em {
  /* 去掉倾斜 */
  font-style: normal;
}

.s1 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 万能清除法 */
.clear:after {
  content: "";
  display: block;
  clear: both;
  height: 0;
  overflow: hidden;
  /* 可见性 */
  visibility: hidden;
}

.clear {
  zoom: 1;
}

.s2 {
  /* 旧版弹性盒 */
  display: -webkit-box;
  /* 旧版方向 */
  -webkit-box-orient: vertical;
  /* 显示的行数 */
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
